package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.ApUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ApUserMapper extends BaseMapper<ApUser> {
    @Select("SELECT * FROM user where phone=#{phone}") // 替换为实际的表名
    List<ApUser> selectList(String phone);

    void Apuserregist(ApUser user);
}
